<script setup>
  import { ObjectToQueryString, ossImg } from "@/utils/utils";
  import { onLoad } from "@dcloudio/uni-app";

  onLoad((options) => {
    setTimeout(() => {
      uni.redirectTo({
        url: '/campaign/pages/panda2024/index' + `?${ObjectToQueryString(options || {})}`
      })
    }, 1500)
  })
</script>

<template>
  <view class="loading-page">
    <image mode="widthFix" :src="ossImg('others/2024panda/loading_panda.gif')" alt />
  </view>
</template>

<style lang="scss" scoped>
  .loading-page {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    image {
      width: 100%;
      position: absolute;
    }
  }
</style>
